package com.itheima.dto;

import lombok.Data;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;
@Data
public class PagesDto<T> {
    //封装实体数据
    private List<T> data;

    //总数
    private Integer count;

    //总页数
    private Integer totalPages;

    //每页数量
    private Integer pageSize;

    //当前页码
    private Integer currentPage;
}
